import { Injectable } from '@angular/core';
import { HttpClient } from '../../../../providers/httpClient';
import { Config } from '../../../../providers/config';
import _ from 'lodash';

@Injectable()
export class MarketingWeeklyDetailService {
	constructor(
		public httpClient: HttpClient,
		public config: Config,
		) { }
	/**
	 * [getChanelListData 工作周报工作日报查询条件]
	 * @param {[type]} weeklyId [工作周报id]
	 */
	 getChanelListData(weeklyId) {
	 	let postBody = {
	 		"module": "KSB",
	 		"method": "USP_A02_0090",
	 		"type":"USP",
	 		"params": {
	 			"workweeeklyid": weeklyId,
	 			"usr_id":""
	 		}
	 	};
	 	console.log("#####工作周报工作日报查询条件######");
	 	console.log(postBody);
	 	return this.httpClient.post(postBody);
	 }
	}
